package org.example.mapper;

import org.example.pojo.User;

/**
 * 整合Mybatis.编写UserMapper
 */
public interface UserMapper {
    User selectById(int id);

    User selectByName(String name);

    Integer add(User user);
}
